package com.kotlin.flong.reflection

import kotlin.reflect.full.companionObject


/**
 * @Author:liangjl
 * @Date: 2020/7/12-8:34
 * @Eamil:jilongliang@sina.com
 * @Description:
 */
class MyTest10 {

    companion object {
        fun method() {
            println("method")
        }
    }
}

fun main() {
    var myTest10 = MyTest10::class
    var companionObj = myTest10.companionObject
    println(companionObj)

    MyTest10.method()

}
